<!DOCTYPE html>
<html lang="en" xmlns:th="http://www.thymeleaf.org"
      xmlns:sec="http://www.thymeleaf.org/extras/spring-security">
<head>
    <meta charset="UTF-8">
    <title>stu add</title>
</head>
<body>

<form  method="post" th:action="@{/submit_stu_add}" >
    学号：<input type="text" name="stuNumber"><br>
    姓名：<input type="text" name="stuName"><br>
    性别： <select  name="stuSex">
    <option  value="男">男</option>
    <option  value="女">女</option>
    </select><br>
    密码： <input type="password" name="stuPassword"><br>
    状态：<select  name="stuStatus">
    <option  value="1">启用</option>
    <option  value="0">禁用</option>
</select><br>
    <label style="color: red" th:text="${stuMsg}" th:if="${not #strings.isEmpty(stuMsg)}"></label>
    <input type="submit" value="添加">
</form>

</body>
</html>